From 6f46e54e382bf3f535f27ebead18c2bdf4628e49 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Sat, 15 Jan 2022 23:08:25 +0100
Subject: chore(comments): handle comment reply

---
 src/pages/article/[slug].tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/pages/article/[slug].tsx')

diff --git a/src/pages/article/[slug].tsx b/src/pages/article/[slug].tsx
index 509be4f..477503e 100644
--- a/src/pages/article/[slug].tsx
+++ b/src/pages/article/[slug].tsx
@@ -24,6 +24,7 @@ const SingleArticle: NextPageWithLayout<ArticleProps> = ({ post }) => {
     author,
     comments,
     content,
+    databaseId,
     dates,
     intro,
     seo,
@@ -71,7 +72,7 @@ const SingleArticle: NextPageWithLayout<ArticleProps> = ({ post }) => {
           <Sharing title={title} excerpt={intro} />
         </Sidebar>
         <section className={styles.comments}>
-          <CommentsList comments={comments} />
+          <CommentsList articleId={databaseId} comments={comments} />
           <CommentForm articleId={post.databaseId} />
         </section>
       </article>
-- 
cgit v1.2.3

